package com.slipper.system.codeless.bo;

import java.util.ArrayList;
import java.util.List;

import com.slipper.common.bo.CommonBO;
import org.springframework.web.multipart.MultipartFile;

/**
 * 页面信息表
 */
public class PageBO extends CommonBO {
    public static final String TYPE_VISUAL = "可视化";
    public static final String LAYOUT_MODE_DASHBOARD = "大屏";

    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 目录ID */
    private String folderId;
    /* 名称 */
    private String name;
    /* 类型： 普通,标签,可视化 */
    private String type;
    /* 样式名 */
    private String cssName;
    /* 标签位置： 顶部,底部,左侧,右侧 */
    private String tabPosition;
    /* 标签脚本ID */
    private String tabScriptId;
    /* 标签切换刷新 */
    private String tabRefresh;
    /* 布局模式 */
    private String layoutMode;
    /* 更新人ID */
    private String updateId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建人ID */
    private String createId;
    /* 创建时间 */
    private Long createTime;

    private String parentId;
    private Integer ordinal;

    private List<PageCompBO> compList = new ArrayList<>();
    private List<PageParamBO> paramList = new ArrayList<>();
    private MultipartFile file;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String[] getIds() {
        return ids;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }

    public String getFolderId() {
        return folderId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setCssName(String cssName) {
        this.cssName = cssName;
    }

    public String getCssName() {
        return cssName;
    }

    public void setTabPosition(String tabPosition) {
        this.tabPosition = tabPosition;
    }

    public String getTabPosition() {
        return tabPosition;
    }

    public void setTabScriptId(String tabScriptId) {
        this.tabScriptId = tabScriptId;
    }

    public String getTabScriptId() {
        return tabScriptId;
    }

    public String getTabRefresh() {
        return tabRefresh;
    }

    public void setTabRefresh(String tabRefresh) {
        this.tabRefresh = tabRefresh;
    }

    public String getLayoutMode() {
        return layoutMode;
    }

    public void setLayoutMode(String layoutMode) {
        this.layoutMode = layoutMode;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public List<PageCompBO> getCompList() {
        return compList;
    }

    public void setCompList(List<PageCompBO> compList) {
        this.compList = compList;
    }

    public List<PageParamBO> getParamList() {
        return paramList;
    }

    public void setParamList(List<PageParamBO> paramList) {
        this.paramList = paramList;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }
}
